//
//  Wave.m
//  RDWave
//
//  Created by Mr.Dynasty on 2019/3/13.
//  Copyright © 2019 Mr.Dynasty. All rights reserved.
//

#import "Wave.h"

@implementation Wave

+ (instancetype)defaultWave {
    
    Wave *wave = [Wave layer];
    
    wave.offsetX = 0.0f;
    wave.offsetY = 0.0f;
    
    wave.height = 25.0f;
    wave.width  = 470.0f;
    
    wave.speedX = 3;
    wave.speedY = 0;
    
    wave.fillColor = [UIColor colorWithRed:0.000 green:0.502 blue:1.000 alpha:1.000].CGColor;
    
    return wave;
    
}

@end
